<?php
include ('./inc/aik.config.php');
?>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta http-equiv="cache-control" content="no-siteapp">
<title>看电影-2017最新好看的最新电影-<?php echo $aik['title'];?></title>
<link rel='stylesheet' id='main-css'  href='css/style.css' type='text/css' media='all' />
<link rel='stylesheet' id='main-css'  href='css/movie.css' type='text/css' media='all' />
<script type='text/javascript' src='http://apps.bdimg.com/libs/jquery/2.0.0/jquery.min.js?ver=0.5'></script>
<meta name="keywords" content="看电影-2017最新好看的最新电影">
<meta name="description" content="<?php echo $aik['title'];?>-看电影-2017最新好看的最新电影">
<!--[if lt IE 9]><script src="js/html5.js"></script><![endif]-->
</head>
<body class="page-template page-template-pages page-template-posts-film page-template-pagesposts-film-php page page-id-9">
<?php  include 'header.php';?>
<section class="container"><div class="fenlei">
<div class="b-listfilter" style="padding: 0px;">
<style>
#noall{
	background-color: #aik651;
    color: #fff;
}
</style>
<dl class="b-listfilter-item js-listfilter" style="padding-left: 0px;height:auto;padding-right:0px;">
<dd class="item g-clear js-listfilter-content" style="margin: 0;">
<a href='?m=http://www.360kan.com/dianying/list.php?cat=all%26pageno=1' target='_self'>全部</a>
<?php
include 'list.php';
$page=$_GET['page'];
$page1=$_GET['page']+=1;
$aaa='1';
$page2='%26pageno='.$page1;
foreach ($mcat as $kcat=>$vcat){
    $flname= $mname[$kcat];
    $flid="?m=http://www.360kan.com/dianying/list.php?cat=".$vcat.'%26pageno=1';
    echo "<a href='$flid' target='_self'>$flname</a>";
}
$fenge=$_GET['m'];
//echo $fenge;
?>
</dd>
</dl>
<div class="b-listtab-main">
<div class="s-tab-main">
<ul class="list g-clear">
           <li  class='item'><a class='js-tongjic' href='./zz-zhanlang2.php' title='战狼2' target='_blank'>
         <div class='cover g-playicon'>
          <img src='https://gss0.bdstatic.com/-4o3dSag_xI4khGkpoWK1HF6hhy/baike/w%3D268%3Bg%3D0/sign=462f805bddca7bcb7d7bc02986320c5e/4610b912c8fcc3cef7dc70ab9845d688d43f200d.jpg' alt='战狼2' />
          <span class='pay'>重磅</span>       <span class='hint'>2017</span>
         </div>
         <div class='detail'>
          <p class='title g-clear'>
            <span class='s1'>战狼2</span>
            <span class='s2'>9.6</span></p>
           <p class='star'>主演：吴京  弗兰克·格里罗 吴刚  张翰  卢靖姗</p>
          </div>
         </a></li>
  </ul>
</div> 
         <div class="paging"> <a href="<?php  $feng=$_GET['m']; $newstr = substr($feng,0,strlen($feng)-1); $newstr1=str_replace("&","%26","$newstr"); $hello = explode('=',$feng); $hello1=$hello[2]-1;$boss="?m=".$newstr1.$hello1;echo $boss;?>" target="_self">上一页</a>
         <a href="<?php  $feng=$_GET['m']; $newstr = substr($feng,0,strlen($feng)-1); $newstr1=str_replace("&","%26","$newstr"); $hello = explode('=',$feng); $hello1=$hello[2]+1;$boss="?m=".$newstr1.$hello1;echo $boss;?>" target="_self">下一页</a>
         <a href="javascript:void(0);">当前第1页</a>
</div>
</div></div>
<div class="asst asst-list-footer"><?php echo $aik['movie_ad'];?></div></section>
<?php  include 'footer.php';?>
</body>
</html>
<?php  
/**$feng=$_GET['m'];
$newstr = substr($feng,0,strlen($feng)-1); 
$newstr1=str_replace("&","%26","$newstr");
//echo $newstr1;
$hello = explode('=',$feng); 
$hello1=$hello[2]+1;
$boss="http://localhost/jiexi/demo.php?u=".$newstr1.$hello1;
echo $boss;**/
?>